<template>
  <!-- 单页应用入口文件 -->
  <div class="Main">
    <!-- 顶部 topbar -->
    <div class="topbar bg-black text-white py-2 px-3 d-flex ai-center">
      <i class="sprite sprite-logo"></i>
      <div class="px-2 flex-1">
        <div class="text-white pt-1 fs-lg">王者荣耀</div>
        <div class="fs-xs text-grey-1 pt-1">团队成就更多</div>
      </div>
      <button type="buttom" class="btn bg-primary">立即下载</button>
    </div>
    <!-- 导航 首页 视频 相册 -->
    <div class="bg-primary pt-3 pb-2">
      <div class="nav nav-inverse pb-1 jc-around">
        <div class="nav-item active">
          <router-link class="nav-link active" tag="div" to="/home"
            >首页</router-link
          >
        </div>
        <div class="nav-item">
          <router-link class="nav-link" tag="div" to="/">攻略中心</router-link>
        </div>
        <div class="nav-item">
          <router-link class="nav-link" tag="div" to="/">赛事中心</router-link>
        </div>
      </div>
    </div>
    <!-- 页面显示 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {

}
</script>

<style lang='scss'>
.topbar {
  position: sticky;
  top: 0;
  z-index: 99;
}
</style>
